Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  We consider the addition of two 2`s complemen... Start Learning for Free
We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add  the two numbers. The sum is denoted by  and the carry-out byCout .
Which one of the following options correctly identifies the overflow condition?
  • a)
  • b)
  • c)
  • d)
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
We consider the addition of two 2`s complement numbers A binary adder ...
Number representation in 2's complement representation:
  • Positive numbers as it is
  • Negative numbers in 2's complement form.
So, the overflow conditions are
1. When we add two positive numbers (sign bit 0) and we get a sign bit 1
2. When we add two negative numbers (sign bit 1) and we get sign bit 0
3. Overflow is relevant only for signed numbers and we use carry for Unsigned numbers
4. When the carry out bit and the carry in to the most significant bit differs
PS: When we add one positive and one negative number we won't get a carry. Also points 1 and 2 is leading to point 4.
Now the question is a bit tricky. It is actually asking the condition of overflow of signed numbers when we use an adder
which is meant to work for unsigned numbers.
So, if we see the options, B is the correct one here as the first part takes care of case 2 (negative numbers) and the second part takes care of case 1 (positive numbers) - point 4.  We can see a counter example each for other options:
A - Let n = 4 and we do 0111 + 0111 =. This overflows as in 2`s complement representation we can store only up to 7. But the overflow condition in A returns false as .
Cout = 0. 
C - This works for the above example. But fails for 1001 + 0001 = 1010 where there is no actual overflow (-7+1 = -6), but the given condition gives an overflow as Cout = 0 and cn-1 = 1.
D - This works for both the above examples, but fails for 1111 + 1111 = 1110 (-1 + -1 = -2) where there is no actual overflow but the given condition says so.
View all questions of this test
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer?
Question Description
We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer?.
Solutions for We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer?, a detailed solution for We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice We consider the addition of two 2`s complement numbers A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out byCout .Which one of the following options correctly identifies the overflow condition?a)b)c)d)Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev